package com.rf.richfitwheel.admin.sys.model;

import java.util.Date;

public class Tenant {
    private String id;

    private String tenantName;

    private String tenantCode;

    private String creater;

    private Date createTime;

    private String modUser;

    private Date modTime;

    public Tenant(String id, String tenantName, String tenantCode, String creater, Date createTime, String modUser, Date modTime) {
        this.id = id;
        this.tenantName = tenantName;
        this.tenantCode = tenantCode;
        this.creater = creater;
        this.createTime = createTime;
        this.modUser = modUser;
        this.modTime = modTime;
    }

    public Tenant() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName == null ? null : tenantName.trim();
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode == null ? null : tenantCode.trim();
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModUser() {
        return modUser;
    }

    public void setModUser(String modUser) {
        this.modUser = modUser == null ? null : modUser.trim();
    }

    public Date getModTime() {
        return modTime;
    }

    public void setModTime(Date modTime) {
        this.modTime = modTime;
    }

	/* （非 Javadoc）
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Tenant [id=");
		builder.append(id);
		builder.append(", tenantName=");
		builder.append(tenantName);
		builder.append(", tenantCode=");
		builder.append(tenantCode);
		builder.append(", creater=");
		builder.append(creater);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", modUser=");
		builder.append(modUser);
		builder.append(", modTime=");
		builder.append(modTime);
		builder.append("]");
		return builder.toString();
	}
}